<template>
    <div>
        <top-label v-model="index">
            <span :slot="0">事故上报</span>
        </top-label>
        <el-row>
            <keep-alive>
                <accident-report-body v-if="index===0"></accident-report-body>
            </keep-alive>
        </el-row>
    </div>
</template>

<script>
    import TopLabel from "~/components/TopLabel";
    import AccidentReportBody from "~/views/safety-management/accident-report/AccidentReportBody";
    export default {
        name: "AccidentReport",
        components:{
            AccidentReportBody,
            TopLabel,
        },
        data(){
            return{
                index:0
            }
        }
    }
</script>

<style scoped>

</style>
